<template>
   <div class="Reiying">
        <div class="list">
           <List :list="list"></List>
       </div>
   </div>
</template>

<script>
import {mapState,mapActions} from "vuex"
import List from '../../components/List.vue'
export default {
 components: { List },
    mounted(){
        this.getList()
    },
    methods:{
        ...mapActions(["getList"])
    },
    computed:{
        ...mapState(["list"])
    }
}
</script>

<style>

</style>